System.ICloneable.Clone Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Makes a shallow clone of this set; i.e., if items of the set are reference types, then they are not cloned. If T is a value type, then each element is copied as if by simple assignment.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
private Object ICloneable.Clone()
Visual Basic (Declaration)
Private Function System.ICloneable.Clone As Object Implements ICloneable.Clone
Visual C++
private:
virtual Object^ System.ICloneable.Clone () sealed = ICloneable::Clone

Return Value

The cloned set.

Remarks

Cloning the set takes time O(N), where N is the number of items in the set.

See Also